package com.zhuhao.threaddemo;

/**
 * @Author halk
 * @Description 多线程方式1
 * 实现 Runnable 接口，没有返回值
 * @Date 2022/6/1 10:03
 * @Param
 * @return
 **/
public class RunnableDemo implements Runnable {
    @Override
    public void run() {
        for (int i = 0; i < 122; i++) {
            System.out.println(i);
        }
    }
}
